﻿<?php
echo "<h1>Kedvencek</h1>";
echo "<br>";
ob_start(); 
	$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider_crea,
	'itemView'=>'_viewcrea',
	'summaryText' => '',
	)); 
$out1 = ob_get_contents();
ob_end_clean();

ob_start(); 
	$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider_usr,
	'itemView'=>'_viewusr',
	'summaryText' => '',
	)); 
$out2 = ob_get_contents();
ob_end_clean();

$this->widget('bootstrap.widgets.TbTabs', array(
'type'=>'tabs', // 'tabs' or 'pills'
'tabs'=>array(
	array('label'=>'Tartalmak', 'content'=>$out1, 'active'=>true),
	array('label'=>'Felhasználók', 'content'=>$out2),
	array('label'=>'Dropdown', 'items'=>array(
	)),
),
)); 
?>